package com.ruoyi.buy.domain.entity.PO;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 采购发票对象 buy_purchase_invoice
 * 
 * @author ruoyi
 * @date 2023-12-06
 */
public class BuyPurchaseInvoice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 主表ID */
    @Excel(name = "主表ID")
    private Long nMainId;

    /** 发票号 */
    @Excel(name = "发票号")
    private String vInvocieNo;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    private String vProjectNo;

    private BigDecimal nTax;

    private BigDecimal nAmt;

    private String vInvocieCode;

    private Date dInvocie;

    private String vBillNo;

    public String getvBillNo() {
        return vBillNo;
    }

    public void setvBillNo(String vBillNo) {
        this.vBillNo = vBillNo;
    }

    public BigDecimal getnTax() {
        return nTax;
    }

    public void setnTax(BigDecimal nTax) {
        this.nTax = nTax;
    }

    public BigDecimal getnAmt() {
        return nAmt;
    }

    public void setnAmt(BigDecimal nAmt) {
        this.nAmt = nAmt;
    }

    public String getvInvocieCode() {
        return vInvocieCode;
    }

    public void setvInvocieCode(String vInvocieCode) {
        this.vInvocieCode = vInvocieCode;
    }

    public Date getdInvocie() {
        return dInvocie;
    }

    public void setdInvocie(Date dInvocie) {
        this.dInvocie = dInvocie;
    }

    public String getvProjectNo() {
        return vProjectNo;
    }

    public void setvProjectNo(String vProjectNo) {
        this.vProjectNo = vProjectNo;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setnMainId(Long nMainId) 
    {
        this.nMainId = nMainId;
    }

    public Long getnMainId() 
    {
        return nMainId;
    }
    public void setvInvocieNo(String vInvocieNo) 
    {
        this.vInvocieNo = vInvocieNo;
    }

    public String getvInvocieNo() 
    {
        return vInvocieNo;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return "BuyPurchaseInvoice{" +
                "id=" + id +
                ", nMainId=" + nMainId +
                ", vInvocieNo='" + vInvocieNo + '\'' +
                ", status='" + status + '\'' +
                ", delFlag='" + delFlag + '\'' +
                ", vProjectNo='" + vProjectNo + '\'' +
                ", nTax=" + nTax +
                ", nAmt=" + nAmt +
                ", vInvocieCode='" + vInvocieCode + '\'' +
                ", dInvocie='" + dInvocie + '\'' +
                '}';
    }
}
